home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / passwrd2.arc / PWORD.DOC < prev   
Encoding:
Text File  |  1985-12-20  |  1.9 KB  |  52 lines

  1. Brief documentation on PWORD.ASM (also called PASSWRD2.ASM) 
  2. by ... P. L. Olympia, Sysop SUGI SIG/M RBBS  301-963-5249
  3.  
  4. Thanks to John R. Petrocelli for sending me this program whose
  5. original author I don't know. Thanks, Mr. Anonymous.
  6.  
  7. PURPOSE:
  8.  
  9.      PWORD.ASM is intended to produce a device driver (PWORD.SYS) that 
  10. you include in your CONFIG.SYS file.  This driver will ask the user on 
  11. machine  startup to provide a password.  The user is repeatedly  asked 
  12. for  the password until the correct one is given.  The user cannot get 
  13. out of this with CTRL-C or CTRL-BREAK, but may warmboot with CTRL-ALT-
  14. DEL.
  15.  
  16.  
  17. INSTALLATION:
  18.  
  19.      Edit  the  file  PWORD.ASM and change the password  (set  in  the 
  20. distribution program as 'plan') to something else that you can  easily 
  21. remember.   I suggest that you do NOT use your wife's name as everyone 
  22. else in the industry does that (don't know why but 45% of my BBS users 
  23. do that for some reason). The line that needs changing is this:
  24.  
  25.      PASSWORD_STORE DB 4,'plan'
  26.                        |   |__ This is the password
  27.                        |______ This is the # of chars in the password
  28.  
  29. If  you don't use ANSI.SYS as a device driver,  you may also  want  to 
  30. change  the  ESC sequence for hiding/unhiding user input in the  block 
  31. called MSG_1  and MSG_2.
  32.  
  33.      Next, compile the program with ASM or MASM.
  34.           MASM pword
  35.  
  36.      Then LINK it:
  37.           LINK pword
  38.  
  39.      Then use EXE2BIN to convert it to a SYS file:
  40.           EXE2BIN pword pword.sys
  41.  
  42.      Add this line to your CONFIG.SYS file:
  43.           DEVICE=pword.sys
  44.  
  45. If you use ANSI.SYS, it should come before PWORD.SYS.
  46.  
  47. That's it. Reboot and watch the fun.  Enjoy ...
  48.  
  49.  
  50. P.S. For all you budding programmers, the program is a handy tool for
  51.      learning how to set up a device driver.
  52.